﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.EventBus;

namespace B.WMS.GoodsDto.Input
{
    [EventName("B.WMS.GoodsDto.Input.CreateGoodsInput")]
    public class CreateGoodsInput
    {

        /// <summary>
        /// 货品编码
        /// </summary>
        [MaxLength(18)]
        public string Goodscoding { get; set; }

        /// <summary>
        /// 货品名称
        /// </summary>

        public string Goodsname { get; set; }

        /// <summary>
        /// 货品状态（1未入库，2已入库，3已出库）
        /// </summary>

        public int Goodsstatus { get; set; }

        /// <summary>
        /// 货品类型编号
        /// </summary>

        public string Goodstypeid { get; set; }
        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime ProductionTime { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>

        public string Goodsspecifications { get; set; }

        /// <summary>
        /// 单位
        /// </summary>

        public string GoodsUnitId { get; set; }

        /// <summary>
        /// 条码
        /// </summary>

        public string Goodsbarcodes { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>

        public string Customerid { get; set; }

        /// <summary>
        /// 供应商编号
        /// </summary>

        public string Vendorid { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Num { get; set; }

        /// <summary>
        /// 入库参考价
        /// </summary>

        public decimal Storageprice { get; set; }

        /// <summary>
        /// 出库参考价
        /// </summary>

        public decimal Retrievalprice { get; set; }
        /// <summary>
        /// 库存总金额
        /// </summary>

        public decimal Inventoryprice { get; set; }

        /// <summary>
        /// 保质期
        /// </summary>

        public int Shelflife { get; set; }

        /// <summary>
        /// 预警天数
        /// </summary>

        public string Earlywarning { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>

        public string Createperson { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>

        public DateTime Createtime { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>

        public DateTime Updatetime { get; set; }

        /// <summary>
        /// 货品图片
        /// </summary>

        public string Goodaimages { get; set; }

        /// <summary>
        /// 货品文件
        /// </summary>

        public string Goodsfile { get; set; }
    }
}
